package com.daka.dao;

import com.daka.entity.VolunteerInsurance;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository(value = "volunteerInsuranceDao")
@SQLMapper
public interface VolunteerInsuranceDao {
    int deleteByPrimaryKey(Long id);

    int insert(VolunteerInsurance record);

    int insertSelective(VolunteerInsurance record);

    int insertBatch(List<VolunteerInsurance> userList);

    VolunteerInsurance selectByPrimaryKey(Long id);

    List<VolunteerInsurance> selectByStatement(VolunteerInsurance record);

    int selectByStatementCount(VolunteerInsurance record);

    int updateByPrimaryKeySelective(VolunteerInsurance record);
}